range: Redraw when slider visiblity changes
authorMatthias Clasen <mclasen@redhat.com>
Thu, 5 Nov 2015 12:23:54 +0000 (07:23 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 5 Nov 2015 12:26:10 +0000 (07:26 -0500)
commit2e314940af267852271425ab49ead85eb12bfca6
tree57169bb6e33ac932446031c653ca6b7e53a67f7c
parent8afb4a69e863db563a662bb8c5b2858b53c287ef
range: Redraw when slider visiblity changes

We were not queuing a draw (and not updating the CSS node) when
the slider visibility changed. This was exposed by the Trough
button in tests/testscale.
Fix this by taking slider visibility into account when deciding
whether to queue a draw in response to adjustment changes.
gtk/gtkrange.c